import { ApiProperty } from '@nestjs/swagger';
import { Timestamp } from 'typeorm';

export class CreateUserErrorDto {
    @ApiProperty({ description: 'ID', example: '' })
    Id: string;
    @ApiProperty({ description: '用户ID', example: '1234' })
    userId: string;
    @ApiProperty({ description: '错题ID', example: '1' })
    exeId: string;
    @ApiProperty({ description: '错误次数', example: '1' })
    errorCount: number ;
    @ApiProperty({ description: '错误时间', example: '' })
    lastErrorTime: Date;
}
